package com.example.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CourseReq {

    @ApiModelProperty("分类Id")
    private Integer categoryId;
    @ApiModelProperty(value = "科目Id",hidden = true)
    private Integer subjectId;
    @ApiModelProperty(value = "授课方式",notes = "1 录播 2 直播 3 面授")
    private Integer teachType;
    @ApiModelProperty(value = "排序方式",notes = "0 默认 1 销量 2 新品 3 价格降序 4 价格升序")
    private Integer sortType;
    @ApiModelProperty(value = "价格类型",notes = "1 收费 2 免费")
    private Integer priceType;
    @ApiModelProperty("起始价格")
    private Integer startPrice;
    @ApiModelProperty("结束价格")
    private Integer endPrice;
    @ApiModelProperty("页号")
    private Integer pageNo = 1;
    @ApiModelProperty("每页最多页数")
    private Integer pageSize = 8;


}


